import { request } from '@/utils/request';

export function createOne(data) {
  return request({
    url: '/queue/whitelist/add',
    method: 'POST',
    data: data
  });
}

export function getLists(params) {
  return request({
    url: '/queue/whitelist/list',
    method: 'GET',
    params
  });
}
export function deletelist(id) {
  return request({
    url: `/queue/whitelist/delete/${id}`,
    method: 'DELETE'
  });
}
